﻿@model VehicleManagement.Models.DriverInfo

@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<link href="@Url.Content("~/Content/css/special.css")" rel="stylesheet" type="text/css" />
<div class="mas">
<div class="toptitle">
   司机负责人管理平台
</div>
@*<div class="car"></div>*@
@Html.Partial("_PartviewDriverManager")
<div class="rightshow">

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

    <fieldset>
        <legend></legend>
       <div class="box">
       
       
        <div class="box-detail" >
        <div class="span-title"><span>个人基本信息录入</span></div>
        <div class="span-title-bottom"><span>以下信息将<span class="span-tip">认真填写</span>，以便我们了解你</span></div>
         <div class="box-img">
            <div class="box-img-wrap">
                <img src="../../Content/themes/base/DMSource/png-0840.png" />
            </div>
            <div class="a-wrap">
                <a>更改图片</a>
            </div>
         </div>
        
          <div class ="box-detail1">
                
          <div class ="box-detail1-wrap">
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.DriverNumber):</span>
                @Html.EditorFor(model => model.DriverNumber)@Html.ValidationMessageFor(model => model.DriverNumber)
            </div>
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.DriverName):</span>
                @Html.EditorFor(model => model.DriverName)@Html.ValidationMessageFor(model => model.DriverName)
            </div>   
            <div class="box-detail1-linetype1" > 
                <span class="labeldisplay">@Html.LabelFor(model => model.Sex):</span>
                    @Html.DropDownListFor(model => model.Sex,new SelectList(new[]{"男","女"},"男"))@Html.ValidationMessageFor(model => model.Sex)           
            </div>
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.Age):</span>
                    @Html.EditorFor(model => model.Age)@Html.ValidationMessageFor(model => model.Age)           
            </div>
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.Email):</span>
                @Html.EditorFor(model => model.Email)@Html.ValidationMessageFor(model => model.Email)
            </div>
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.Telephone):</span>
                @Html.EditorFor(model => model.Telephone)@Html.ValidationMessageFor(model => model.Telephone)
            </div>
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.FamilyAddress):</span>
                @Html.EditorFor(model => model.FamilyAddress)@Html.ValidationMessageFor(model => model.FamilyAddress)
            </div>
           </div>
           </div>
          <div class="clear"></div>
           <div class="span-title"><span>驾驶信息录入</span></div>
           <div class="box-detail2">     
           <div class="box-detail2-wrap">
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.DriverLinceId):</span>
                @Html.EditorFor(model => model.DriverLinceId)@Html.ValidationMessageFor(model => model.DriverLinceId)
            </div>
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.LinceID):</span>
                @Html.EditorFor(model => model.LinceID)@Html.ValidationMessageFor(model => model.LinceID)
            </div>
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.LinceStart):</span>
                @Html.EditorFor(model => model.LinceStart)@Html.ValidationMessageFor(model => model.LinceStart)
            </div>
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.LinceType):</span>
                @Html.EditorFor(model => model.LinceType)@Html.ValidationMessageFor(model => model.LinceType)
            </div>
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.LincecheckTime):</span>
                @Html.EditorFor(model => model.LincecheckTime)@Html.ValidationMessageFor(model => model.LincecheckTime)
            </div>
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.Remark):</span>
                @Html.TextAreaFor(model => model.Remark)
            </div>
           </div>
           </div>
           <div class="button-wrap">
                <input class="button-add" type="submit" value="添 加" />
                <input class="button-back" type="button" value="取 消" />  
           </div> 
        </div>
    </div>

    </fieldset>
    

}


</div>

<div class="clear"></div>
	

    </div>
